package com.yupi.project.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.lin.model.entity.UserInterfaceInfo;

/**
* @author 林怀旭
* @description 针对表【user_interface_info(接口信息)】的数据库操作Service
* @createDate 2023-05-11 10:20:49
*/
public interface UserInterfaceInfoService extends IService<UserInterfaceInfo> {
    /**
     * 校验
     *
     * @param userInterfaceInfo
     * @param add 是否为创建校验
     */
    void validUserInterfaceInfo(UserInterfaceInfo userInterfaceInfo, boolean add);

    public boolean invokeCount(long interfaceInfoId, long userId);
}
